package tr.edu.metu.is.mega.common.dto;

import java.util.Date;

/**
 * The persistent class for the submission database table.
 * 
 */
public class SubmissionDTO extends BaseDTO {

    private static final long serialVersionUID = -8434801953100372860L;

    public static final String FIELD_ACTIVIY = "activityDescription";
    public static final String FIELD_TEAM = "team.teamName";
    public static final String FIELD_DATE = "submissiondate";
    
    private String filepath;

    private Integer fkRelatedsubmission;

    private Date submissiondate;

    private Integer activity;

    private String activityDescription;

    private UserDTO systemuser;

    private TeamDTO team;

    /**
     * Default constructor.
     */
    public SubmissionDTO() {
    }

    /**
     * Returns filepath.
     * 
     * @return the filepath
     */
    public String getFilepath() {
        return filepath;
    }

    /**
     * Sets filepath value.
     * 
     * @param filepath the filepath to set
     */
    public void setFilepath(String filepath) {
        this.filepath = filepath;
    }

    /**
     * Returns fkRelatedsubmission.
     * 
     * @return the fkRelatedsubmission
     */
    public Integer getFkRelatedsubmission() {
        return fkRelatedsubmission;
    }

    /**
     * Sets fkRelatedsubmission value.
     * 
     * @param fkRelatedsubmission the fkRelatedsubmission to set
     */
    public void setFkRelatedsubmission(Integer fkRelatedsubmission) {
        this.fkRelatedsubmission = fkRelatedsubmission;
    }

    /**
     * Returns submissiondate.
     * 
     * @return the submissiondate
     */
    public Date getSubmissiondate() {
        return submissiondate;
    }

    /**
     * Sets submissiondate value.
     * 
     * @param submissiondate the submissiondate to set
     */
    public void setSubmissiondate(Date submissiondate) {
        this.submissiondate = submissiondate;
    }

    /**
     * Returns activity.
     * 
     * @return the activity
     */
    public Integer getActivity() {
        return activity;
    }

    /**
     * Sets activity value.
     * 
     * @param activity the activity to set
     */
    public void setActivity(Integer activity) {
        this.activity = activity;
    }

    /**
     * Returns systemuser.
     * 
     * @return the systemuser
     */
    public UserDTO getSystemuser() {
        return systemuser;
    }

    /**
     * Sets systemuser value.
     * 
     * @param systemuser the systemuser to set
     */
    public void setSystemuser(UserDTO systemuser) {
        this.systemuser = systemuser;
    }

    /**
     * Returns team.
     * 
     * @return the team
     */
    public TeamDTO getTeam() {
        return team;
    }

    /**
     * Sets team value.
     * 
     * @param team the team to set
     */
    public void setTeam(TeamDTO team) {
        this.team = team;
    }

    /**
     * Returns activityDescription.
     * 
     * @return the activityDescription
     */
    public String getActivityDescription() {
        return activityDescription;
    }

    /**
     * Sets activityDescription value.
     * 
     * @param activityDescription the activityDescription to set
     */
    public void setActivityDescription(String activityDescription) {
        this.activityDescription = activityDescription;
    }

}
